//
//  HomePageSecondTableViewCell.m
//  App-MyFairldy
//
//  Created by dlios on 15-5-26.
//  Copyright (c) 2015年 客官大大. All rights reserved.
//

#import "HomePageSecondTableViewCell.h"

@implementation HomePageSecondTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatMyView];
    }
    return self;
}

- (void)creatMyView
{
    self.titleLabel = [[UILabel alloc] init];
    [self.contentView addSubview:self.titleLabel];
    
    self.subTitleLabel = [[UILabel alloc] init];
    [self.contentView addSubview:self.subTitleLabel];
    
    [self.titleLabel release];
    [self.subTitleLabel release];
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.titleLabel.frame = CGRectMake(20, 255, 375, 50);
    self.titleLabel.tintColor = [UIColor blackColor];
    
    self.subTitleLabel.frame = CGRectMake(20, 300, self.titleLabel.frame.size.width, 30);
    self.subTitleLabel.font = [UIFont systemFontOfSize:13];
    self.subTitleLabel.tintColor = [UIColor grayColor];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
